# 默认目标
TARGETS = server client

all:$(TARGETS)

server:server.c
	gcc -Wall server.c pthread.c -lpthread -o server

client:client.c
	gcc -Wall client.c pthread.c -lpthread -o client

rm_out:
	rm -f $(TARGETS)
